SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '508754c7d5123da6c05034fa51a2df157b133c08d7cb6ff9694f3937b3c2730a' 
  AND token = 'JH2d4uNG3QRB93Onp50cbQqaAlMozTzZ4ewK7MDeRXw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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