SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f0345e88b84292be855411cd6759da060ce779995f2d69c3d8997495a6331cc' 
  AND token = 'w3jepvTEWILthy3JCdSffgittdGr1sYZ8yUMn9dQLLE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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