SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10d969779b5deeaca9fcb9843a6b1e020524f468f1e1ebb05219b9d567104af7' 
  AND token = '4THbMJJUhiG6V9hDLVAcORcTCP/WAfvcMcBEdGKV76M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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