SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba5be9795754d72a940416334cdedf0e8bebd8d4773f05f1df2cc677aac54eb1' 
  AND token = 'kmS31Rw+6bdZwxhTs292p6CSPxwTiYuUocZJHK4IDk0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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