SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01a2f178bf6843bda781f9d0dd95ad5631a0e966b3892275c29c0c91c9c78ee1' 
  AND token = 'p6kTZ19AiCOyEA3wXWhkiVIrkbDCpJozwNZ7bmLIG4k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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