SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd7e72992365840e432d0c6be2c7fb5dcf737c590f6cf4edc74c0ff50e4b413c' 
  AND token = 'x7yVudu2TkIUtmrRnZ6w6GO0fLLPOOyb6Wfi4Cxt90c=' 
  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"
    }
  }
}