SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51761c21951d4bee6f8e538dff5ecab112857048e6d524472327a9ad1021b3ae' 
  AND token = 'QxmkvOpqkU8d6dY/figgMyYwDse/yVCDJ5pyyk9H4VY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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