SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4687cf6fa718b03156a96ad352cbd846f80040d57b4ff322271e16cde5b598ff' 
  AND token = 'bBb+rFnpNOUKYF4LUN5a8K6wts51THtiPc++hZZUfX0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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