SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '08381b7ffe3943128eada08bcd183920e7044398d320a2c5321fb793162b3e70' 
  AND token = 'Dv4ADfKFTYs/diYkCtJbP14Z0zCNkpV3xD19tPTj4Sk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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