SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8af3cb063217ea17ec2be948fe59d64c1f5a966e356e5de93305f5095a64bd9' 
  AND token = '2tegXVD3Fm/TNhvu8t94ih4MVhH0PfFzvwRGj2XN6A8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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