SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f8877e298d923b24027883ad862ebff098ba6eb3aacf7ee676f2fc40047e738b' 
  AND token = 'RA+Wghxefa44oT/Xht2P9BOlT4+VYeJzZ7KgMUgSE38=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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