SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0863aca9349d0f2ed954eac37f6fc957892eef3e13e04c635813d086b830788' 
  AND token = 'aeBitpeGCI3Zf6/pH83PtDy/bZGk5sQgDgf3HEo7WEE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}