SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c87edf3764fc4396c95e034d1da895c0a48feeafff49a768c70802e59858d9f' 
  AND token = 'MJcUcasd6FcTNy16Oibj+7l4SDrah62TIYlHo7t9Sbg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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