SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0da42fcd44d67e4a3df70dbeb53e59da617301c4184b9a9399037fdb363128a6' 
  AND token = 'xE/goURi0hrhmQYtw+jxtr4Tc5ifvBL/M+0Pd2TaR/M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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