SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb217a3a4902bfd0f1d781405c36c7402b6764a275709a84687da1cb17c2f278' 
  AND token = 'zuO58y9IP4+/a2ASUYM+CFcPondllyWzgWWabso7IUM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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