SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '333aa964f4f640f9556ff9d243dfb0215e30c6976e04513cce516237f1dadf66' 
  AND token = 'mCXfg2bbL4YVtWJidar10josTs6f61ccaMkhu4jbn7k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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