SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a180280102c3da5e08120ec578ef8e0f643c527dcabfb24212d9f320e10d7923' 
  AND token = 'BP7okhArTxDOy4POqOM2kolQGNB+diTAvY+Oyx26/xk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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