SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf16100e78432b32a650210642ec8c1a7fe2792217cc4ed714c6d949b1ea49d2' 
  AND token = 'OJ1TEToJFjPi5BkfTZh39D/k5t6hdqFFzjvqmDNIE8Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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