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

Query time 0.00020

JSON explain

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