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

Query time 0.00029

JSON explain

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