SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccbe2eaef791b77e99220a9ca000cffdf1c56b9e9e03c87a4d86631ea73e9df3' 
  AND token = 'ols9IjueWkQ2Lsik5qZt52ncGhoRCdOPxt3Hj8Glj2I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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