SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '66220ec87fa5244d89cc43947e9c1ccca6240b67896a3ccce5fcd7bc13cd4595' 
  AND token = '07qdq8ubq3Ykq+GScedUy76ae8M+73xedcjTAgl1aPA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}