SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6997149a903acdc4d9371632449d52258213f8e42d925438d68d679bc95329fd' 
  AND token = 'QlBpNoSq2kOISiRV2elxxalX3dYexUephPgymWMXhIg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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