SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3165d8b333fd7048d7321309f110cae9d38d60cda26db5bad1ce95fd4b7bcf07' 
  AND token = 'X8W1diJPDWOD3DlII31+qMQQ9RjWvO5Ej1/LVHTwbow=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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