SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '115150e2aa64b09718c2194b34938e1b06a6f8f3a6e9117a8246c9b88dc80782' 
  AND token = 'HV2o7LCp2Kj0IFR0Frm4Z+WSPm1/W2gbSNJAVpdC5ho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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