SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3579bc2a9da50138ecf896a9f6ab7ed33b3c9a88d0a2ed3ba13bf117d40b2db' 
  AND token = 'T8QgpiuhSUV10ZFPSj67bbBQ/6/kuV0Y9PbJxMEn0Gc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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