SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce5fc731f7a29b881bc6d8310686722cb95e8ac66f40e6db8f75f60103a2b1b9' 
  AND token = 'avXyeu8qyKkd9tdy2ZI+j5ooUrNN2PCYeiFAQuU7JxE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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