SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd180b21fd0f6850116f803484d195a0cbbb353397ec2280a9ffff0bcaa95c22d' 
  AND token = 'P6i+xS11mBVEugoy0HZGGEo8iohYVL+54wR2vVjtf38=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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