SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3aae1f1a1a7d1a864dbf6267104da88d0269023363b69c4877610728e69b4a51' 
  AND token = 'O7zhyVaLHlFZ0Coi6jt8qKKypDSg2wWJ0NkJi0NUW+k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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