SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42751849349d29f7963ca70ea5c996b3cc954bdd8e640701a1df82e0542b8d0a' 
  AND token = 'qip8Qx6g9v/wZToz04DeZE3FacNcdOx6mv72jjzDW28=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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