SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'efaae5867987f6cf195a917d8fcf5a1b28eda26254fa7b3ff590f5e06db8be4e' 
  AND token = 'TiykJiRaScan+8CpAPgDpReVgppjkCIp7toy1VWoYvM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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