SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fca5d0dab4e3ede6cb37be4b52217e25a00ec5a347bf6ea6df108934bba9d321' 
  AND token = 'OJO8mLOV/jn2LkqU9TuFFwskEQQSJ9unRu8JrYhXUb4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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